﻿CREATE TABLE [dbo].[Categories] (
    [Id]           INT             IDENTITY (1, 1) NOT NULL,
    [ParentId]     INT             NULL,
    [Name]         NVARCHAR (255)  NOT NULL,
    [UserId]       INT             NOT NULL,
    [NestingLevel] INT             NOT NULL,
    [FullName]     NVARCHAR (4000) NULL
);

